package com.dormitory.management.system.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 学生表
 * </p>
 *
 * @author
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Student对象", description="学生表")
public class StudentCheckInOutPageReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页")
    private int pageCurrent = 1;

    @ApiModelProperty(value = "每页记录数")
    private int pageSize = 10;

    @ApiModelProperty(value = "学号（账号）")
    private String stuId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别（0：男，1：女）")
    private Integer sex;

    @ApiModelProperty(value = "班级")
    private String stuClass;

    @ApiModelProperty(value = "专业")
    private String major;

    @ApiModelProperty(value = "院系")
    private String department;

    @ApiModelProperty(value = "房间号id")
    private Long roomId;

    @ApiModelProperty(value = "列表类型（入住列表：0，退住列表：1）",required = true)
    private Integer type;

    @ApiModelProperty(value = "当前用户账号",required = true)
    private String username;
}
